home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / lib / templates / objc_prj / Makefile < prev    next >
Encoding:
Makefile  |  1996-02-13  |  1.6 KB  |  96 lines

  1. # Makefile for project: 
  2. #
  3. # This file was automatically generated by OS/2 Project Builder
  4. # (C) 1995 by Thomas Baier.
  5. #
  6. # Unregistered version
  7. #
  8. # Do not edit this file manually!
  9.  
  10. # Variable section
  11. CC = gcc
  12. CPP = $(CC) -E
  13. AR = ar
  14. MAKE = make
  15. TOUCH = touch
  16. RM = rm -f
  17. STRIP = emxbind -s
  18. BIND = emxbind -ep
  19. RC = rc -r
  20.  
  21. CFLAGS = -O2
  22. LFLAGS = -O2
  23.  
  24. # Default rules for C and Objective C source code and resource definition files
  25. .SUFFIXES: .h .m .c .rc .res $(OBJ) $(EXE)
  26.  
  27. .c.o:
  28.     $(CC) -c $(CFLAGS) $<
  29.  
  30. .m.o:
  31.     $(CC) -c $(CFLAGS) $<
  32.  
  33. .rc.res:
  34.     $(RC) $<
  35.  
  36. # Project settings
  37. MTLFLAG = 
  38. DLLLFLAG = 
  39.  
  40. EXEFILE = project.exe
  41.  
  42. LIBS = -lobjcpm -lobjcutil -lobjc
  43.  
  44. ADDLIBS = 
  45.  
  46. CLASSES =     Main.o
  47.  
  48. OTHERS = 
  49.  
  50. # Local compilation rules
  51. all: $(EXEFILE)
  52.  
  53. debug:
  54.     $(MAKE) "CFLAGS=-g" "LFLAGS=-g" debug.exe
  55.  
  56. $(EXEFILE): $(CLASSES) $(OTHERS)
  57.     $(CC) -o $(EXEFILE) $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
  58.         $(LFLAGS) $(MTLFLAG) $(DLLLFLAG) 
  59.     $(BIND) $(EXEFILE)
  60.     $(STRIP) $(EXEFILE)
  61.  
  62. debug.exe: $(CLASSES) $(OTHERS)
  63.     $(CC) -o debug.exe $(CLASSES) $(OTHERS) $(LIBS) $(ADDLIBS) \
  64.         $(LFLAGS) $(MTLFLAG) $(DLLLFLAG) 
  65.     $(BIND) debug.exe
  66.  
  67.  
  68. # Other targets
  69. clean:
  70.     $(RM) $(CLASSES) $(OTHERS) 
  71.     $(RM) $(EXEFILE) debug.exe
  72.     $(RM) *~
  73.     $(RM) core
  74.  
  75. # End of Makefile for project 
  76.  
  77. # Project: 
  78. # -------
  79. #
  80. #
  81. # Project directory: C:\Desktop\Programming\PB Project\
  82. # -----------------
  83. #
  84. # Header files:
  85. # ------------
  86. #
  87. # Implementation files:
  88. # --------------------
  89. #    Main.m
  90. #
  91. # C source code files:
  92. # -------------------
  93. #
  94. # Resource scripts:
  95. # ----------------
  96.